package org.smartboot.flow.example;


import org.smartboot.flow.core.Condition;
import org.springframework.stereotype.Service;

/**
 * @author qinluo
 * @date 2022-11-11 21:45:21
 * @since 1.0.0
 */
@Service
public class IfCondition2 extends Condition<Integer, String> {

    @Override
    public Object test(Integer integer, String s) {
        return integer != null && integer == 1;
    }
}
